<div class='btn-toolbar'>    
        <?php
        foreach ($buttons as $button) {
            $type = isset($button['type'])?$button['type']:'primary';
            $this->widget('bootstrap.widgets.BootButton', array(
                'label' => $button['label'],
                'type' => $type,
                'url' => $button['url']
                    )
            );
            echo "<span>  </span>";
        }
        
        ?>
    
</div>